package com.dwd.order.service;

import com.dwd.basic.service.IBaseService;
import com.dwd.order.pojo.AdoptOrder;
import com.dwd.servicemanager.pojo.Product;
import com.dwd.user.pojo.LoginInfo;

import java.util.Map;

/**
 * @Description: TODO
 * @Author 汶狄
 * @Date 2021/1/27 14:57
 * @Version 1.0
 */
public interface IAdoptService extends IBaseService<AdoptOrder> {
    /**
     * 保存订单
     * @param map
     * @param loginInfo
     */
    void submitOrder(Map<String, Long> map, LoginInfo loginInfo);

    /**
     * 根据id查产品
     * @param valueOf
     * @return
     */
    Product queryProduct(Long valueOf);
}
